.class Lcom/teewoo/app/bus/ui/WebViewActivity$2;
.super Ljava/lang/Object;
.source "WebViewActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/WebViewActivity;->initImageButton()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/WebViewActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    .line 106
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2
    .parameter "v"

    .prologue
    .line 108
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$3(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020002

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 109
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$4(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020047

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 110
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$5(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f02001d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 111
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$6(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->canGoBack()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 112
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->access$6(Lcom/teewoo/app/bus/ui/WebViewActivity;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->goBack()V

    .line 115
    :goto_0
    return-void

    .line 114
    :cond_0
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/WebViewActivity$2;->this$0:Lcom/teewoo/app/bus/ui/WebViewActivity;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/WebViewActivity;->finish()V

    goto :goto_0
.end method
